package com.liufh.controller;

import com.liufh.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: liufh
 * @create: 2022-01-08 21:54
 **/
@RestController
@RequestMapping("/provider")
public class ResumeController {

    @Autowired
    private ResumeService resumeService;

    @Value("${server.port}")
    private Integer port;

    @GetMapping("/providerTest")
    public String providerTest() {
        System.out.println("====providerTest");
//        return resumeService.findDefaultResumeByUserId(userId).getIsOpenResume();
        return port + "-test";
    }

}
